#ifndef ANALOG_CLOCK_H
#define ANALOG_CLOCK_H

#include <Arduino.h>
#include <stdint.h>
#include "hub75e.h"

// Draw an analog clock inside the rectangle (posX,posY) with size (w,h)
// panel: reference to the Panel object to draw on
// hour/minute/second: current time values
// Add weekDayStr: 3-char string (e.g. "THU") to display under 12 o'clock
// year, month, day: used to draw date/day-of-month for the panel's timezone
void drawAnalogClock(Panel &panel, uint16_t posX, uint16_t posY, uint16_t w, uint16_t h, uint8_t hour, uint8_t minute, uint8_t second, const char* weekDayStr, int year = 0, int month = 0, int day = 0);

#endif // ANALOG_CLOCK_H
